package com.ruoyi.inventory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点明细对象 inventory_check_item
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public class InventoryCheckItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点明细ID */
    private Long checkItemId;

    /** 盘点ID */
    @Excel(name = "盘点ID")
    private Long checkId;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String checkCode;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String productCode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 系统数量 */
    @Excel(name = "系统数量")
    private Long systemQuantity;

    /** 实际数量 */
    @Excel(name = "实际数量")
    private Long actualQuantity;

    /** 差异数量 */
    @Excel(name = "差异数量")
    private Long differenceQuantity;

    /** 调整数量 */
    @Excel(name = "调整数量")
    private Long adjustQuantity;

    /** 库位编码 */
    @Excel(name = "库位编码")
    private String locationCode;

    public void setCheckItemId(Long checkItemId) 
    {
        this.checkItemId = checkItemId;
    }

    public Long getCheckItemId() 
    {
        return checkItemId;
    }

    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }

    public void setCheckCode(String checkCode) 
    {
        this.checkCode = checkCode;
    }

    public String getCheckCode() 
    {
        return checkCode;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setSystemQuantity(Long systemQuantity) 
    {
        this.systemQuantity = systemQuantity;
    }

    public Long getSystemQuantity() 
    {
        return systemQuantity;
    }

    public void setActualQuantity(Long actualQuantity) 
    {
        this.actualQuantity = actualQuantity;
    }

    public Long getActualQuantity() 
    {
        return actualQuantity;
    }

    public void setDifferenceQuantity(Long differenceQuantity) 
    {
        this.differenceQuantity = differenceQuantity;
    }

    public Long getDifferenceQuantity() 
    {
        return differenceQuantity;
    }

    public void setAdjustQuantity(Long adjustQuantity) 
    {
        this.adjustQuantity = adjustQuantity;
    }

    public Long getAdjustQuantity() 
    {
        return adjustQuantity;
    }

    public void setLocationCode(String locationCode) 
    {
        this.locationCode = locationCode;
    }

    public String getLocationCode() 
    {
        return locationCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkItemId", getCheckItemId())
            .append("checkId", getCheckId())
            .append("checkCode", getCheckCode())
            .append("productId", getProductId())
            .append("productCode", getProductCode())
            .append("productName", getProductName())
            .append("specification", getSpecification())
            .append("unit", getUnit())
            .append("systemQuantity", getSystemQuantity())
            .append("actualQuantity", getActualQuantity())
            .append("differenceQuantity", getDifferenceQuantity())
            .append("adjustQuantity", getAdjustQuantity())
            .append("locationCode", getLocationCode())
            .append("remark", getRemark())
            .toString();
    }
}
